<%@ page language="java" pageEncoding="UTF-8"
	errorPage="../../defaultException.jsp"%>
<%@include file="../../tags.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>添加目的地信息</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<style type="text/css">
#fm {
	margin: 0;
	padding: 10px 10px;
}

.ftitle {
	font-size: 14px;
	font-weight: bold;
	padding: 5px 0;
	margin-bottom: 10px;
	border-bottom: 1px solid #ccc;
}

.fitem {
	margin-bottom: 5px;
}

.fitem label {
	display: inline-block;
	width: 90px;
}
</style>
</head>
<body>
	<form id="fm" method="post" enctype="multipart/form-data">

		<table class="fitem">
			<tr>
				<td><label>中文名:</label></td>
				<td><input name="name" required="true"
					data-options="validType:'length[0,32]'" class="easyui-validatebox" />
				</td>
				<td><label>英文名:</label></td>
				<td><input name="enname"
					data-options="validType:'length[0,64]'" class="easyui-validatebox"
					required="true" /></td>
			</tr>
			<tr>
				<td><label>国家名称:</label></td>
				<td><input name="destExt.country"
					data-options="validType:'length[0,128]'" class="easyui-validatebox"
					required="true" /></td>
					<td><label>海拔:</label></td>
				<td><input name="destExt.altitude"
					data-options="validType:'length[0,32]'" class="easyui-validatebox"
					  /></td>
			</tr>
			<tr>
				<td><label>人口:</label></td>
				<td><input name="destExt.peopleNum"
					data-options="validType:'length[0,32]'" class="easyui-validatebox"
					required="true" /></td>
					<td><label>语言:</label></td>
				<td><input name="destExt.destLanguage"
					data-options="validType:'length[0,128]'" class="easyui-validatebox"
					required="true" /></td>
			</tr>
			<tr>
				<td><label>货币:</label></td>
				<td><input name="destExt.currency"
					data-options="validType:'length[0,32]'" class="easyui-validatebox"
					required="true" /></td>
				<td><label>网址:</label></td>
				<td><input name="destExt.netsite"
					data-options="validType:'length[0,128]'" class="easyui-validatebox"
					 /></td>
			</tr>
			<tr>
				<td><label>电话:</label></td>
				<td><input name="destExt.telephone"
					data-options="validType:'length[0,64]'" class="easyui-validatebox"
					/></td>
					<td><label>航空:</label></td>
				<td><input name="destExt.aviation"
					data-options="validType:'length[0,64]'" class="easyui-validatebox"
					  /></td>
			</tr>
			<tr>
				<td><label>铁路:</label></td>
				<td><input name="destExt.railroad"
					data-options="validType:'length[0,64]'" class="easyui-validatebox"
					  /></td>
				<td><label>公路:</label></td>
				<td><input name="destExt.highway"
					data-options="validType:'length[0,64]'" class="easyui-validatebox"
					  /></td>
			</tr>
			<tr>
				<td><label>水运:</label></td>
				<td><input name="destExt.waterTransport"
					data-options="validType:'length[0,64]'" class="easyui-validatebox"
					  /></td>
					<td><label>市内交通:</label></td>
				<td><input name="destExt.localTransport"
					data-options="validType:'length[0,64]'" class="easyui-validatebox"
					  /></td>
			</tr>
			<tr class="fitem">
				<td>
					<label>经度:</label>
				</td>
				<td>
					<input name="lng"  class="easyui-validatebox"  required="required" validType="numberbox"/>
				</td>
				<td>
					<label>纬度:</label>
				</td>
				<td>
					<input name="lat" class="easyui-validatebox" required="required" validType="numberbox" />
				</td>
			</tr>
			
			<tr>
				<td><label>关联数据:</label></td>
				<td>
					<input id="dataId" name="relId" required="true" validType="numberbox" />
				</td>
				<td>
					<button onclick="query()" type="button">查询</button>
				</td>
				<td></td>
			</tr>
			<tr>
				<td><label>描述信息:</label></td>
				<td colspan="3"><textarea name="destDesc" id="destDesc" style="width:392px;height:80px"
					data-options="validType:'length[0,1024]'" class="easyui-validatebox"
					required="true"></textarea></td>
			</tr>
			<tr>
				<td><label>图片:</label></td>
				<td colspan="3"><input name="origImgFile"
					type="file"
					required="true" /></td>
			</tr>
		</table>
	</form>

<script type="text/javascript">
$('#destDesc').ceditor();
</script>

</body>
</html>